package J3;

import org.testng.Assert;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;

import java.security.acl.Group;

public class Group01 {
//    软依赖就是不管依赖的方法是否成功执行，接下来的方法都可以运行。软依赖的实现是在@Test中添加属性alwaysRun=true来实现
    @Test(groups = {"f1","f2"},dependsOnMethods = {"test_13"},alwaysRun = true)
    public void test_12(){
        System.out.println("用例m12！");
    }
    @Test(groups = {"f1"})
    public void test_13(){

        Assert.assertEquals(12,112);
        System.out.println("用例m13！");

    }
    @Test(groups = {"f2"})
    public void test_14(){
        System.out.println("用例m14！");
    }
}
